﻿using System;
using System.Web.UI.WebControls;
using Medianamik.Core;
using Medianamik.UI.Controls;

namespace Medianamik.UI.ConfigManagement
{
    public partial class SiteManagement : BaseModuleEditionPage<WebSite>
    {
        #region Events
                
        #endregion

        #region Properties

        public override MedianamikFormTemplate MedianamikFormTemplate
        {
            get
            {
                return nodeFields;
            }
        }

        public override Guid? TypeId
        {
            get
            {
                return MedianamikTypes.WebSite;
            }
        }

        protected override string ReturnURL
        {
            get
            {
                return "sitelist.aspx";
            }
        }

        protected override string NodeIdParamName
        {
            get
            {
                return "siteid";
            }
        }

        public override LinkButton SaveButton
        {
            get { return btnSave; }
        }

        #endregion
    }
}
